package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.entity.User;
import com.example.pojo.query.UserQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User selectByUserName(String userName);
    List<User> selectListUser(UserQuery userQuery);
    User selectByUserNameAndPasswd(User user);
    Integer insertUser(User user);
    Integer updateByUserName(User user);
}
